Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pentest] Add Ibex FI & SCA tests #22269

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

nasahlpa
Copy link
Member

@nasahlpa nasahlpa commented Mar 26, 2024

This commit adds the following SCA and FI penetration tests:

  • ibex.fi.address_translation
  • ibex.fi.address_translation_config
  • ibex.fi.char.csr_write
  • ibex.fi.char.csr_read
  • ibex.sca.key_sideloading

The host code is located in lowRISC/ot-sca#350

nasahlpa added a commit to nasahlpa/ot-sca that referenced this pull request Mar 27, 2024
This commit adds the following FI tests:
- ibex.fi.address_translation
- ibex.fi.address_translation_config
- ibex.fi.char.csr_write
- ibex.fi.char.csr_read

The device code is located in lowRISC/opentitan#22269

Signed-off-by: Pascal Nasahl <[email protected]>
nasahlpa added a commit to nasahlpa/ot-sca that referenced this pull request Mar 27, 2024
This commit adds the following FI tests:
- ibex.fi.address_translation
- ibex.fi.address_translation_config
- ibex.fi.char.csr_write
- ibex.fi.char.csr_read

The device code is located in lowRISC/opentitan#22269

Signed-off-by: Pascal Nasahl <[email protected]>
nasahlpa added a commit to nasahlpa/ot-sca that referenced this pull request Mar 27, 2024
This commit adds the following FI tests:
- ibex.fi.address_translation
- ibex.fi.address_translation_config
- ibex.fi.char.csr_write
- ibex.fi.char.csr_read

The device code is located in lowRISC/opentitan#22269

Signed-off-by: Pascal Nasahl <[email protected]>
@nasahlpa nasahlpa force-pushed the ibex_pentests branch 2 times, most recently from 5a90578 to 8760537 Compare March 27, 2024 17:41
@nasahlpa nasahlpa marked this pull request as ready for review March 27, 2024 17:41
@nasahlpa nasahlpa requested a review from a team as a code owner March 27, 2024 17:41
@nasahlpa nasahlpa requested review from alees24, vogelpi and johannheyszl and removed request for a team and alees24 March 27, 2024 17:41
@nasahlpa nasahlpa added the CherryPick:master This PR should be cherry-picked to master label Mar 27, 2024
Copy link
Contributor

@johannheyszl johannheyszl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @nasahlpa

@timothytrippel timothytrippel self-requested a review March 28, 2024 14:46
This commit adds the following SCA and FI penetration tests:
- ibex.fi.address_translation
- ibex.fi.address_translation_config
- ibex.fi.char.csr_write
- ibex.fi.char.csr_read
- ibex.sca.key_sideloading

The host code is located in lowRISC/ot-sca#350

Signed-off-by: Pascal Nasahl <[email protected]>
@nasahlpa nasahlpa added the Status:Ready to merge PR is ready to be merged by a committer. label Mar 29, 2024
@vogelpi
Copy link
Contributor

vogelpi commented Apr 1, 2024

I am merging this, the CI failure is unrelated to this PR.

@vogelpi vogelpi merged commit 1a36e28 into lowRISC:earlgrey_es_sival Apr 1, 2024
29 of 31 checks passed
Copy link

github-actions bot commented Apr 1, 2024

Backport failed for master, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin master
git worktree add -d .worktree/backport-22269-to-master origin/master
cd .worktree/backport-22269-to-master
git switch --create backport-22269-to-master
git cherry-pick -x ea26e1a140df386be9d1cc116e856c990939a03e

nasahlpa added a commit to nasahlpa/ot-sca that referenced this pull request Apr 1, 2024
This commit adds the following FI tests:
- ibex.fi.address_translation
- ibex.fi.address_translation_config
- ibex.fi.char.csr_write
- ibex.fi.char.csr_read

The device code is located in lowRISC/opentitan#22269 and the
binary was compiled from lowRISC/opentitan@1a36e28 with:
./bazelisk.sh build //sw/device/tests/crypto/cryptotest/firmware:firmware_fpga_cw310_test_rom

Signed-off-by: Pascal Nasahl <[email protected]>
nasahlpa added a commit to nasahlpa/opentitan that referenced this pull request Apr 1, 2024
This commit manually cherry picks lowRISC#22269 as the
automatic cherry pick failed.

This commit adds the following SCA and FI penetration tests:
- ibex.fi.address_translation
- ibex.fi.address_translation_config
- ibex.fi.char.csr_write
- ibex.fi.char.csr_read
- ibex.sca.key_sideloading

The host code is located in lowRISC/ot-sca#350

Signed-off-by: Pascal Nasahl <[email protected]>
(cherry picked from commit ea26e1a)
nasahlpa added a commit to nasahlpa/opentitan that referenced this pull request Apr 5, 2024
This commit manually cherry picks lowRISC#22269 as the
automatic cherry pick failed.

This commit adds the following SCA and FI penetration tests:
- ibex.fi.address_translation
- ibex.fi.address_translation_config
- ibex.fi.char.csr_write
- ibex.fi.char.csr_read
- ibex.sca.key_sideloading

The host code is located in lowRISC/ot-sca#350

Signed-off-by: Pascal Nasahl <[email protected]>
(cherry picked from commit ea26e1a)
nasahlpa added a commit to nasahlpa/opentitan that referenced this pull request Apr 5, 2024
This commit manually cherry picks lowRISC#22269 as the
automatic cherry pick failed.

This commit adds the following SCA and FI penetration tests:
- ibex.fi.address_translation
- ibex.fi.address_translation_config
- ibex.fi.char.csr_write
- ibex.fi.char.csr_read
- ibex.sca.key_sideloading

The host code is located in lowRISC/ot-sca#350

Signed-off-by: Pascal Nasahl <[email protected]>
(cherry picked from commit ea26e1a)
nasahlpa added a commit to nasahlpa/ot-sca that referenced this pull request Apr 5, 2024
This commit adds the following FI tests:
- ibex.fi.address_translation
- ibex.fi.address_translation_config
- ibex.fi.char.csr_write
- ibex.fi.char.csr_read

The device code is located in lowRISC/opentitan#22269 and the
binary was compiled from lowRISC/opentitan@1a36e28 with:
./bazelisk.sh build //sw/device/tests/crypto/cryptotest/firmware:firmware_fpga_cw310_test_rom

Signed-off-by: Pascal Nasahl <[email protected]>
nasahlpa added a commit to nasahlpa/ot-sca that referenced this pull request Apr 5, 2024
This commit adds the following FI tests:
- ibex.fi.address_translation
- ibex.fi.address_translation_config
- ibex.fi.char.csr_write
- ibex.fi.char.csr_read

The device code is located in lowRISC/opentitan#22269 and the
binary was compiled from lowRISC/opentitan@1a36e28 with:
./bazelisk.sh build //sw/device/tests/crypto/cryptotest/firmware:firmware_fpga_cw310_test_rom

Signed-off-by: Pascal Nasahl <[email protected]>
nasahlpa added a commit to nasahlpa/ot-sca that referenced this pull request Apr 5, 2024
This commit adds the following FI tests:
- ibex.fi.address_translation
- ibex.fi.address_translation_config
- ibex.fi.char.csr_write
- ibex.fi.char.csr_read

The device code is located in lowRISC/opentitan#22269 and the
binary was compiled from lowRISC/opentitan@5968e0b with:
./bazelisk.sh build //sw/device/tests/crypto/cryptotest/firmware:firmware_fpga_cw310_test_rom

Signed-off-by: Pascal Nasahl <[email protected]>
nasahlpa added a commit to nasahlpa/ot-sca that referenced this pull request Apr 5, 2024
This commit adds the following FI tests:

- ibex.fi.address_translation
- ibex.fi.address_translation_config
- ibex.fi.char.csr_write
- ibex.fi.char.csr_read

The device code is located in lowRISC/opentitan#22269 and the
binary was compiled from lowRISC/opentitan@5968e0b

Signed-off-by: Pascal Nasahl <[email protected]>
nasahlpa added a commit to nasahlpa/ot-sca that referenced this pull request Apr 5, 2024
This commit adds the following FI tests:

- ibex.fi.address_translation
- ibex.fi.address_translation_config
- ibex.fi.char.csr_write
- ibex.fi.char.csr_read

The device code is located in lowRISC/opentitan#22269 and the
binary was compiled from lowRISC/opentitan@5968e0b

Signed-off-by: Pascal Nasahl <[email protected]>
nasahlpa added a commit to lowRISC/ot-sca that referenced this pull request Apr 5, 2024
This commit adds the following FI tests:

- ibex.fi.address_translation
- ibex.fi.address_translation_config
- ibex.fi.char.csr_write
- ibex.fi.char.csr_read

The device code is located in lowRISC/opentitan#22269 and the
binary was compiled from lowRISC/opentitan@5968e0b

Signed-off-by: Pascal Nasahl <[email protected]>
@nasahlpa nasahlpa deleted the ibex_pentests branch April 8, 2024 16:21
moidx pushed a commit that referenced this pull request Apr 9, 2024
This commit manually cherry picks #22269 as the
automatic cherry pick failed.

This commit adds the following SCA and FI penetration tests:
- ibex.fi.address_translation
- ibex.fi.address_translation_config
- ibex.fi.char.csr_write
- ibex.fi.char.csr_read
- ibex.sca.key_sideloading

The host code is located in lowRISC/ot-sca#350

Signed-off-by: Pascal Nasahl <[email protected]>
(cherry picked from commit ea26e1a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CherryPick:master This PR should be cherry-picked to master Status:Ready to merge PR is ready to be merged by a committer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants